<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        *{
            margin: 0;padding: 0
        }
        div{
            width: 300px;
            height: 100px;
            border: 2px solid #000;
            margin: 100px auto;
        }
        p{
            /* width:100% ; */
            text-align: center;
            line-height: 100px;
            position: relative;
        }
        P::before{
            content: "";
            width:20%;
            height: 2px;
            background: #000;
            position: absolute;
            left: 5%;
            top: 49%
        }
        P::after{
            content: "";
            width:20%;
            height: 2px;
            background: #000;
            position: absolute;
            right:5%;
            top: 49%

        }
    </style>
</head>
<body>
    <div>
        <p>请以下方式登录</p>
    </div>
    <!-- <div>
        <p></p>
        <p></p>
    </div> -->
</body>
</html>